GET
/
v1
/
customers
/
{id}
/
payment-methods
curl --request GET \
  --url https://api.hyperline.co/v1/customers/{id}/payment-methods \
  --header 'Authorization: Bearer <token>'
{
  "meta": {
    "total": 1,
    "taken": 1,
    "skipped": 0
  },
  "data": [
    {
      "id": "pm_1xMpj5bwRqN7LM",
      "type": "card",
      "last_4_digits": 2718,
      "expiration_date": "2026-11",
      "brand": "visa"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200 - application/json
meta
object
required
data
object[]
required

List of PaymentMethod.

Was this page helpful?